﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Comsenz.Services.Blocks.Configs
{
    /// <summary>
    /// 模块显示样式集
    /// </summary>
    /// <author>Chrion</author>
    public class BlockStyles : List<BlockStyle>
    {
        /// <summary>
        /// 添加模块显示样式
        /// </summary>
        /// <param name="name">模板名称</param>
        /// <param name="template">模板</param>
        public void Add(string name, string template)
        {
            Add(new BlockStyle(name, template));
        }
    }
}
